// samsting : this file is auto create.

#include "Ram/2015-05-01/GetPasswordPolicyResponse.h"

namespace aliyun { namespace Ram {

GetPasswordPolicyResponse::GetPasswordPolicyResponse() {
}

int GetPasswordPolicyResponse::PasswordPolicy::GetMinimumPasswordLength(void) const {
  return MinimumPasswordLength_;
}

bool GetPasswordPolicyResponse::PasswordPolicy::GetRequireLowercaseCharacters(void) const {
  return RequireLowercaseCharacters_;
}

bool GetPasswordPolicyResponse::PasswordPolicy::GetRequireUppercaseCharacters(void) const {
  return RequireUppercaseCharacters_;
}

bool GetPasswordPolicyResponse::PasswordPolicy::GetRequireNumbers(void) const {
  return RequireNumbers_;
}

bool GetPasswordPolicyResponse::PasswordPolicy::GetRequireSymbols(void) const {
  return RequireSymbols_;
}

const GetPasswordPolicyResponse::PasswordPolicy& GetPasswordPolicyResponse::GetPasswordPolicy(void) const {
  return PasswordPolicy_;
}

const char* GetPasswordPolicyResponse::BaseKey(void) {
  return "GetPasswordPolicyResponse";
}

void GetPasswordPolicyResponse::UnmarshallerMap(std::map<string, string>& response_map) {
    UnmarshallerInt(PasswordPolicy_.MinimumPasswordLength_, response_map, "GetPasswordPolicyResponse.PasswordPolicy.MinimumPasswordLength");
    UnmarshallerBool(PasswordPolicy_.RequireLowercaseCharacters_, response_map, "GetPasswordPolicyResponse.PasswordPolicy.RequireLowercaseCharacters");
    UnmarshallerBool(PasswordPolicy_.RequireUppercaseCharacters_, response_map, "GetPasswordPolicyResponse.PasswordPolicy.RequireUppercaseCharacters");
    UnmarshallerBool(PasswordPolicy_.RequireNumbers_, response_map, "GetPasswordPolicyResponse.PasswordPolicy.RequireNumbers");
    UnmarshallerBool(PasswordPolicy_.RequireSymbols_, response_map, "GetPasswordPolicyResponse.PasswordPolicy.RequireSymbols");
}


} } // namespace aliyun { namespace Ram {

// end of file 
